<?php

class Zend_View_Helper_FormRender extends Zend_View_Helper_FormElement
{

    public function formRender($name, $value = null, $attribs = null, $options = null)
    {
        if (isset($attribs['viewPath']))
            return $this->view->render($attribs['viewPath']);
        return '';
    }

}